package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffOneDeptobjScheduleDto
 * @使用场景
 */
@Data
public class BffOneDeptobjScheduleDto implements Serializable {

    /**
     * 被评对象目标周期ID
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String evaObjTargetCycleId;

    /**
     * 被评对象内容表主键ID
     */
    @ApiModelProperty("一级部门ID")
    private String evaObjEntityId;

    /**
     * 部门简称
     */
    @ApiModelProperty("一级部门简称")
    private String deptShortName;

    /**
     * 是否已完成 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否已完成")
    private String isComplete;

    /**
     * 可选分管领导角色成员ID
     */
    @ApiModelProperty("可选分管领导角色成员ID")
    private String roleMemberId;

    /**
     * 主管的就职记录ID
     */
    @ApiModelProperty("主管的就职记录ID")
    private String directorInductionId;

    /**
     * 个人账号ID
     */
    @ApiModelProperty("个人账号ID")
    private String userId;

    /**
     * 真实头像
     */
    @ApiModelProperty("真实头像")
    private String userFace;

    /**
     * 真实姓名
     */
    @ApiModelProperty("真实姓名")
    private String idCardName;

    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickName;
    /**
     * 关联目标内容ID
     */
    @ApiModelProperty("关联目标内容ID")
    private String targetCycleContentId;
    /**
     * 党团主管的就职记录ID
     */
    @ApiModelProperty("党团主管的就职记录ID")
    private String partyAndYouthDirectorInductionId;

    /**
     * 党团主管个人账号
     */
    @ApiModelProperty("党团主管个人账号")
    private String partyAndYouthDirectorUserId;

    /**
     * 党团主管姓名
     */
    @ApiModelProperty("党团主管姓名")
    private String partyAndYouthDirectorIdCardName;

    /**
     * 党团主管昵称
     */
    @ApiModelProperty("党团主管昵称")
    private String partyAndYouthDirectorNickName;

    /**
     * 党团主管头像
     */
    @ApiModelProperty("党团主管头像")
    private String partyAndYouthDirectorUserFace;
    /**
     * 行政主管的姓名
     */
    @ApiModelProperty("行政主管的姓名")
    private String directorIdCardName;
    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Long orderNumber;
    /**
     * 部门类型字典ID
     */
    @ApiModelProperty("部门类型字典ID")
    private String typeDictionaryId;

    /**
     * 类型字典名称
     */
    @ApiModelProperty("类型字典名称")
    private String typeDictionaryName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffOneDeptobjScheduleDto that = (BffOneDeptobjScheduleDto) o;
        return evaObjTargetCycleId == that.evaObjTargetCycleId && evaObjEntityId == that.evaObjEntityId && deptShortName == that.deptShortName && isComplete == that.isComplete && roleMemberId == that.roleMemberId && directorInductionId == that.directorInductionId && userId == that.userId && userFace == that.userFace && idCardName == that.idCardName && nickName == that.nickName && targetCycleContentId == that.targetCycleContentId && partyAndYouthDirectorInductionId == that.partyAndYouthDirectorInductionId && partyAndYouthDirectorUserId == that.partyAndYouthDirectorUserId && partyAndYouthDirectorIdCardName == that.partyAndYouthDirectorIdCardName && partyAndYouthDirectorNickName == that.partyAndYouthDirectorNickName && partyAndYouthDirectorUserFace == that.partyAndYouthDirectorUserFace && directorIdCardName == that.directorIdCardName && orderNumber == that.orderNumber && typeDictionaryId == that.typeDictionaryId && typeDictionaryName == that.typeDictionaryName;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), evaObjTargetCycleId, evaObjEntityId, deptShortName, isComplete, roleMemberId, directorInductionId, userId, userFace, idCardName, nickName, targetCycleContentId, partyAndYouthDirectorInductionId, partyAndYouthDirectorUserId, partyAndYouthDirectorIdCardName, partyAndYouthDirectorNickName, partyAndYouthDirectorUserFace, directorIdCardName, orderNumber, typeDictionaryId, typeDictionaryName);
    }


}
   